﻿using Alison.EFCore.Dto;
using Alison.Tools.HttpContact.Response;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Alison.Service
{
    public interface IBasicService : IDenpendency
    {
        Task<ApiResponse> GetAll(BasicDto dto);

        Task<ApiResponse> Add(BasicDto dto);

        Task<ApiResponse> Delete(int id);

        Task<ApiResponse> Save(BasicDto dto);
    }
}
